/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package meteothread;

import java.util.TimerTask;

/**
 *
 * @author bobby
 */
public class UpdateClass extends TimerTask{

    public MainFrame up;
    
    public UpdateClass(MainFrame _up){
        this.up = _up;
    }
    @Override
    public void run() {
        up.updateWeather();
    }
    
    
}
